﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using WSInfoSeguro.Dominio;

namespace WSInfoSeguro
{
    [ServiceContract]
    public interface IInfoSeguro
    {
        [OperationContract]
        [WebInvoke(Method = "GET",
            ResponseFormat = WebMessageFormat.Json,
            UriTemplate = "AseguradosEps/{dni}")]
        Eps getInfoSeguro(String dni);
    }
}
